package com.itmumu.miniwechat.user.domain.dto;


import com.itmumu.miniwechat.user.domain.vo.ContactPermission;
import jakarta.validation.Valid;
import jakarta.validation.constraints.NotEmpty;
import jakarta.validation.constraints.NotNull;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class UserContactApplyDto {

    private  Integer contactId;

    private Integer contactType;

    /**
     * 备注
     */
    private String remark;

    /**
     * 提交申请填写的内容
     */
    private String applyInfo;

    /**
     * 权限信息
     */
    @Valid
    @NotNull(message = "权限信息不能为空")
    private ContactPermission permission;
}
